package com.itheima.common;

import com.baomidou.mybatisplus.annotation.TableLogic;

public class ThreadCommon{
    private static ThreadLocal<Long> tableLogic = new ThreadLocal<>();

    public static void setTableLogic(Long id){
        tableLogic.set(id);
    }

    public static Long getTableLogic(){
        return tableLogic.get();
    }
}
